﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WaterBill.DTO
{
    class DTO_Nests
    {
        #region "Bien toan cuc"
        private int _NestId;
        private string _Name;
        private int _HamletId;
        private int _Status;
        #endregion

        #region "Thuoc tinh"
        public int NestId
        {
            get { return _NestId; }
            set { _NestId = value; }
        }
        public string Name
        {
            get { return _Name; }
            set { _Name = value; }
        }
        public int HamletId
        {
            get { return _HamletId; }
            set { _HamletId = value; }
        }
        public int Status
        {
            get { return _Status; }
            set { _Status = value; }
        }
        #endregion

        #region "Phuong thuc"
        public DTO_Nests(){
            _NestId = 0;
            _Name = string.Empty;
            _HamletId = 0;
            _Status = 1;
        }
        public DTO_Nests(DTO_Nests obj)
        {
            this.NestId = obj.NestId;
            this.Name = obj.Name;
            this.HamletId = obj.HamletId;
            this.Status = obj.Status;
        }
        public DTO_Nests(int NestId, string Name, int HamletId, int Status)
        {
            this.NestId = NestId;
            this.Name = Name;
            this.HamletId = HamletId;
            this.Status = Status;
        }
        #endregion
    }
}
